import { defineConfig } from '@umijs/max';
import defaultSettings from './defaultSettings';

import routes from './routes'

export default defineConfig({
	antd: {},
	access: {},
	model: {},
	initialState: {},
	clientLoader: {},
	request: {},
  layout: {
    // https://umijs.org/zh-CN/plugins/plugin-layout
    locale: false,
    siderWidth: 108,
    ...defaultSettings,
  },
	routes: routes,
	// Fast Refresh 热更新
	fastRefresh: true,
	crossorigin: {},
	npmClient: 'pnpm',
});

